<?php
session_start();
unset($_SESSION['user']);//删除当前登录的用户信息
header('location: index.php');